﻿namespace UnityEngine
{
    using System;
    using System.Runtime.InteropServices;

    [StructLayout(LayoutKind.Sequential)]
    public struct SoftJointLimit
    {
        private float m_Limit;
        private float m_Bounciness;
        private float m_Spring;
        private float m_Damper;
        public float limit
        {
            get
            {
                return this.m_Limit;
            }
            set
            {
                this.m_Limit = value;
            }
        }
        public float spring
        {
            get
            {
                return this.m_Spring;
            }
            set
            {
                this.m_Spring = value;
            }
        }
        public float damper
        {
            get
            {
                return this.m_Damper;
            }
            set
            {
                this.m_Damper = value;
            }
        }
        public float bounciness
        {
            get
            {
                return this.m_Bounciness;
            }
            set
            {
                this.m_Bounciness = value;
            }
        }
        [Obsolete("Use SoftJointLimit.bounciness instead", true)]
        public float bouncyness
        {
            get
            {
                return this.m_Bounciness;
            }
            set
            {
                this.m_Bounciness = value;
            }
        }
    }
}

